package com.online.music.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.online.music.entity.dto.AlbumAddSongsDTO;
import com.online.music.entity.po.Album;

import java.util.List;

import com.online.music.common.Result;
import com.online.music.entity.po.Song;


/**
 * @Author: Leno
 * @Date: 2025-01-31
 * @Description: IAlbumService
 */
public interface IAlbumService extends IService<Album> {

    Result<Page<Album>> findPage(Integer pageNum, Integer pageSize, Album album);

    Result<String> deleteBatch(List<Long> ids);

    Result<String> addSong(AlbumAddSongsDTO albumAddSongsDTO);

    Result<String> removeSong(AlbumAddSongsDTO albumAddSongsDTO);

    Result<List<Song>> getAvailableSongs();

    Result<List<Song>> getAlbumSongs(Long id);
}

